@charset "utf-8";

#header .ad{
    overflow: hidden;
    min-width: 1100px;
}

#header .ad img{
    position: relative;
    transform: translate(-50%);
    left: 50%;
}

/* 导航栏 */
#header .nav{
    background-color: #000;
    /* margin:0 auto; */
}

#header .wrap{
    height: 30px;
    line-height: 30px;
    zoom: 1;
    /* color:#999; */
}

#header .nav-left .welcome,
#header .nav-left .account{
    float: left;
}

#header .nav a{
    color:#999;
    /* display:inline-block; */
    height: 30px;
    float: left;
}

/* 二维码 */
#header .nav-left .account a{
    position: relative;
} 

#header .nav-left .account a .code{
    display:none;
    position: absolute;
    top: 40px;
    /* 重置左边元素重置 */
    left: 0;
    /* 相对于自己的定位 */
    transform: translate(-50%);
    /* 父元素的盒子 */
    margin-left: 50%;
    /* 内边框属性 上下 左右 */
    padding: 10px 10px;
    border: 1px solid #eaeaea;
    background-color: #fff;
    z-index: 999;
} 

#header .nav-left .account a:nth-child(3) .code span{
    font-size: 13px;
    color: #000;
    display: block;
    text-align:center;
    margin-top: 3px;
}

.arrow{
    position:absolute;
    top: -8px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 8px;
    height: 8px;
    margin:0 auto;
    background-color: #fff;
    border-top: 1px solid #eaeaea;
    border-left: 1px solid #eaeaea;
    transform:rotate(45deg);
}

#header .nav-left .account a span:hover+.code{
    display: inline;
}


/* #header .nav-left a,
#header .nav-right a{
    margin-left: 30px;
} */
#header .nav a{
    margin-left: 30px;
}

#header  a:hover{
    color:#fff;
}

#header .nav-right .group2{
    margin-left: 20px;
}

#header .nav .nav-right,
#header .nav .group1,
#header .nav .group2{
    float: right;
}

#header .nav-right .group2 a{
    margin-left: 0;
    padding: 0 16px 0 12px;
}

#header .nav-right .group2 a:hover{
    background-color: #fff;
    color:#ff1e32
}
 
#header .nav-right .group2 i{
    position: relative;
    top: 2px;
    display: inline-block;
    border: 4px solid #999;
    width: 0;
    height: 0;
    border-left-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    /* 旋转 */
    transition: transform .3s ease-in;
    /* 围绕什么旋转 */
    transform-origin: center 2px;
}

#header .nav-right .group2 a:hover i{
    border-top-color: #ff1e32;
    transform: rotate(180deg);
}

/* logo-search-cart */
#header .operation {
    position: relative;
    height: 100px;
    background-color: #fff;
}

#header .operation .wrap{
    height: 100px;
}

#header .operation img {
    position: absolute;
    top: 0;
    bottom: 0;
    margin:auto 0;
}

#header .operation .search {
    position:relative;
    top: 50%;
    transform: translate(0,-50%);
    float: right;
    /* margin-top: 30px; */
    margin-right: 232px;
    width: 403px;
    /* height: 40px; */
    border: 2px solid #ff2337;
    border-radius:40px;
    padding:6px 39px 6px 30px;
    background-color: #fff;
}

#header .operation .search input {
    width: 380px;
    height: 24px;
}

#header .operation .search input::placeholder{
    font-style: italic;
}

#header .operation .search i{
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    margin:auto 0;
    width: 14px;
    height: 14px;
    /* background-color: #f00; */
    background-image: url("../img/kl-sprite-01.png");
    background-position: -466px -667px;;
}

#header .operation .search span{
    position:absolute;
    width: 60px;
    height: 44px;
    /* line-height: 40px; */
    /* background-color: #ff2337; */
    /* background-image: linear-gradient(270deg,#ff2e64,#ff0003); */
    right: -2px;
    top: -2px;
    border-radius: 40px;
    background: url("../img/icon-search.png") #ff2337 no-repeat center center;
}

#header .operation .cart{
    position:absolute;
    top: 33px;
    right: 76px;
    /* margin:auto 0; */
    width: 106px;
    height: 36px;
    line-height: 36px;
    font-size: 14px;
    border: 2px solid #ff2337;
    border-radius: 36px;
    text-align: center;
    background-color: #fff;
    color:#000;
}

#header .operation .cart i{
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-bottom: -5px;
    margin-right: 2px;
    background: url("../img/icon-aside-right-cart-active.png") no-repeat 0 0;
}

#header .operation a:hover {
    color:#ff1e32;
    background-color: #fff4f5;
}




